package cn.tx.dao;

import cn.tx.model.Emp;

import java.util.List;
import java.util.Map;

public interface EmpDao {
    public Emp findByName(String name);
    public int addEmp (Emp emp);
    public List<Emp> findList(Map<String, Object> querymap);
    public List<Emp> findAll();
    public int findTotal(Map<String, Object> querymap);
    public int UpdateEmpById(Emp emp);
    public int delete(String ids);
}

